package com.example.demo.Service;

import com.example.demo.repository.domain.Customer;

/**
 * @author ZhangKe
 * @Description
 * @date 2019/7/3 13:11.
 */
public interface CustomerService {

    Customer getById(int id);

    Customer getByName(String name);

    int register(Customer customer);

    int login(String customerName,String password);

    int update(Customer customer);
}
